package com.woniuxy.school.dietary.order.mapper;

import com.woniuxy.school.dietary.order.entity.DietOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 吴彦祖
 * @since 2025年05月14日
 */
@Mapper
public interface DietOrderMapper extends BaseMapper<DietOrder> {

    List<DietOrder> selectByLimit(@Param("start") Long start,@Param("end") Long end,@Param("userId") Long userId);

    List<DietOrder> storeFindOrder(@Param("start") Long start,@Param("end") Long end,@Param("storeId") Long storeId);
}
